<template>
  <div >
    <classifyTable :archiveType="archiveType" />
  </div>
</template>

<script>
import classifyTable from "./components/classifyTable.vue";

export default {
    components: {
        classifyTable,
    },
    data() {
        return {
            types: [],
        };
    },
    computed: {
        // 在路由上取稿件类型
        archiveType() {
            return this.$route.meta.archiveType;
        },
    },
    mounted() {
        this.getArchiveTypes();
    },
    methods: {
        async getArchiveTypes() {
            // const types = await getArchiveTypesAPI();
            // this.types = types.data;
        },
    },
};
</script>

<style lang="scss" scoped>
.table-card__item {
  margin-bottom: 20px;
  .table-title__item {
    font-weight: bold;
  }
}
</style>
